export default{
	namespaced: true,
	state: {
		navHeight: 0,
		nativeBarHeight:0,
		barHeight: 0,
		statusBarHeight: 0,
		winHeight: 0,
		winWidth: 0,
		msgBadge:0,
		cartBadge:0,
		cart:null,
		selectGoods:null,
		navUserTip:false,
		referrerId:0,
		dToken:null,
		dClientid:null,
		appConfig:{},
		tempObj:null
	},
	mutations: {
		setNativeBarHeight(state,nhv){
			state.nativeBarHeight = nhv;
		},
		setBarHeight(state,bhv){
			state.barHeight = bhv;
		},
		setStatusBarHeight(state,shv){
			state.statusBarHeight = shv;
		},
		setNavHeight(state,nhv){
			state.navHeight = nhv;
		},
		setWinHeight(state,wh){
			state.winHeight = wh;
		},
		setWinWidth(state,ww){
			state.winWidth = ww;
		},
		setMsgBadge(state,num){
			state.msgBadge = num;
		},
		setCartBadge(state,num){
			state.cartBadge = num;
		},
		setNavUserTip(state,s){
			state.navUserTip = s;
		},
		setSelectGoods(state,g){
			state.selectGoods = g;
		},
		setCart(state,cart){
			state.cart = cart;
		},
		setReferrerId(state,rid){
			state.referrerId=rid;
		},
		setDClientid(state,dClientid){
			state.dClientid = dClientid;
		},
		setDToken(state,dToken){
			state.dToken = dToken;
		},
		setAppConfig(state,appConfig){
			state.appConfig = appConfig;
		},
		setTempObj(state,obj){
			state.tempObj = obj;
		}
	},
	actions: {
		
	}
}